package cn.gorit.entity.resource;

/**
 * @version v1.0
 * @Classname Source
 * @Description 资源文件
 * @Author CodingGorit
 * @Created on 2021/4/14 23:31
 * @IDLE IntelliJ IDEA
 **/
public class Source {
    // 资源 ID
    private String sourceId;
    // 资源名称
    private String sourceName;
    // 资源名称
    private String sourceUrl;
    // 资源类型 1 代表 图片 2 代表视频
    private Integer sourceType;
    // 资源添加事件
    private String createTime;
    // 资源上擦混者
    private String userId;

    public String getSourceId() {
        return sourceId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public String getSourceName() {
        return sourceName;
    }

    public void setSourceName(String sourceName) {
        this.sourceName = sourceName;
    }

    public Integer getSourceType() {
        return sourceType;
    }

    public void setSourceType(Integer sourceType) {
        this.sourceType = sourceType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getSourceUrl() {
        return sourceUrl;
    }

    public void setSourceUrl(String sourceUrl) {
        this.sourceUrl = sourceUrl;
    }

    @Override
    public String toString() {
        return "Source{" +
                "sourceId='" + sourceId + '\'' +
                ", sourceName='" + sourceName + '\'' +
                ", sourceUrl='" + sourceUrl + '\'' +
                ", sourceType='" + sourceType + '\'' +
                ", createTime='" + createTime + '\'' +
                ", userId='" + userId + '\'' +
                '}';
    }
}
